package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.PsuserdataDao;
import com.bootdo.screen.domain.PsuserdataDO;
import com.bootdo.screen.service.PsuserdataService;



@Service
public class PsuserdataServiceImpl implements PsuserdataService {
	@Autowired
	private PsuserdataDao psuserdataDao;
	
	@Override
	public PsuserdataDO get(Integer id){
		return psuserdataDao.get(id);
	}
	
	@Override
	public List<PsuserdataDO> list(Map<String, Object> map){
		return psuserdataDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return psuserdataDao.count(map);
	}
	
	@Override
	public int save(PsuserdataDO psuserdata){
		return psuserdataDao.save(psuserdata);
	}
	
	@Override
	public int update(PsuserdataDO psuserdata){
		return psuserdataDao.update(psuserdata);
	}
	
	@Override
	public int remove(Integer id){
		return psuserdataDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return psuserdataDao.batchRemove(ids);
	}

	@Override
	public int saveUpdate(PsuserdataDO psuserdata){return psuserdataDao.saveUpdate(psuserdata);}
	
}
